/**
 * @ author: 汪孟苹
 */
define(["jquery","dg/datagride.common"],function($,$common){
	var quest = {};

	/**
	 * tpl模板
	 */
	var tpl_label = function(){
		return  '<script id="tpl_static_text_label" type="text/html">'+
				'	<div style="{{label.style}}">{{label.value}}</div>'+
				'</script>';
	}
	var tpl_input = function(){
		return '<script id="tpl_static_text_input" type="text/html">'+
				'	<div class="validatebox" style="{{style}}" data-questionId="{{questionId}}" data-recordId="{{recordId}}" data-attentionType="{{attentionType}}" data-attention="{{attention}}">{{value}}</div>'+
				'</script>';
	}
	quest.tpl = function(){
		var tpl = {};
		tpl.label = tpl_label;
		tpl.input = tpl_input;
		return tpl;
	}

	return quest;
});